import axios from '@/axios'

// 查询项目成员
export function getProjectMember(query) {
  return axios({
    url: '/task/tcProjectMember/list',
    method: 'get',
    params: query,
  })
}
// 新增项目成员
export function addProjectMember(data) {
  return axios({
    url: '/task/tcProjectMember/addTcPrjectMembers',
    method: 'post',
    data: data,
  })
}
// 修改项目成员
export function editProjectMember(data) {
  return axios({
    url: '/task/tcProjectMember',
    method: 'put',
    data: data,
  })
}
